class Configuration(object):
    defaultWidth = 640
    defaultHeight = 480
    defaultTime = 3600
    defaultStroke = 10
    defaultDisplayTime = 10
    defaultPicturesPerCard = 10
    cards = []
    workspace = None
    @staticmethod
    def getDecks():
        decks = []
        for card in Configuration.cards:
            decks += card.decks
        return sorted(list(set(decks)))
    @staticmethod
    def getCategories():
        categories = []
        for card in Configuration.cards:
            categories += card.categories
        return sorted(list(set(categories)))
    @staticmethod
    def getTypes():
        types = []
        for card in Configuration.cards:
            types.append(card.type)
        return sorted(list(set(types)))